
import 'package:flutter/material.dart';
import 'package:xindong/models/user/xindong_kongjian_user.dart';
import 'package:xindong/routes/userspace/view/xindong_kongjian_title_container.dart';

class XinDongKongJianInfoNoble extends StatelessWidget {
  final XinDongSpaceUser model;

  const XinDongKongJianInfoNoble({super.key, required this.model});

  @override
  Widget build(BuildContext context) {
    if (model.is_noble == 1) {
      return const SizedBox();
    }
    return XinDongKongJianTitleContainer(
      title: '贵族',
      content: model.is_noble == 1 ? "" : "未开通",
      children: const [],
    );
  }
}